settings: Deprecate gtk-touchscreen-mode
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 12 Dec 2011 18:19:03 +0000 (19:19 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Mar 2012 21:25:24 +0000 (16:25 -0500)
It's not used anywhere in GTK+ anymore.

gtk/gtksettings.c

index 55485e41fe2b7de4649fbfd104ae8afcf66e87a5..04926f4e627c8eef99164b6cc108e0a8eb9fbdd7 100644 (file)
@@ -700,13 +700,16 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * functionality.
    *
    * Since: 2.10
+   *
+   * Deprecated: 3.4. Generally the behavior touchscreen input should be
+   *             performed dynamically based on gdk_event_get_source_device().
    */
   result = settings_install_property_parser (class,
                                              g_param_spec_boolean ("gtk-touchscreen-mode",
                                                                    P_("Enable Touchscreen Mode"),
                                                                    P_("When TRUE, there are no motion notify events delivered on this screen"),
                                                                    FALSE,
-                                                                   GTK_PARAM_READWRITE),
+                                                                   GTK_PARAM_READWRITE | G_PARAM_DEPRECATED),
                                              NULL);
 
   g_assert (result == PROP_TOUCHSCREEN_MODE);